package org.example.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.dto.NearFoodTruckQurey;
import org.example.dto.NearFoodTruckVO;
import org.example.model.FoodTruck;

import java.util.List;

@Mapper
public interface FoodTruckDao {

    List<FoodTruck> queryByApplicant(@Param("applicant") String applicant);

    List<FoodTruck> queryByFoodItems(@Param("foodItems") List<String> foodItems);

    List<NearFoodTruckVO> nearFoodTruck(@Param("query") NearFoodTruckQurey query);
}
